﻿<Window x:Class="CPPEI.PM.Shell.Dialogs.CreateUserDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CreateUserDlg" SizeToContent="WidthAndHeight"
        WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="账号:" Grid.Row="0" Grid.Column="0"/>
        <TextBox Name="_ctlEditAccount" Grid.Row="0" Grid.Column="1"/>
        <Label Content="姓名:" Grid.Row="1" Grid.Column="0"/>
        <TextBox Name="_ctlEditName" Grid.Row="1" Grid.Column="1"/>
        <Label Content="邮箱:" Grid.Row="2" Grid.Column="0"/>
        <TextBox Name="_ctlEditEmail" Grid.Row="2" Grid.Column="1"/>
        <Label Content="联系电话:" Grid.Row="3" Grid.Column="0"/>
        <TextBox Name="_ctlEditPhone" Grid.Row="3" Grid.Column="1"/>
        <Label Content="密码:" Grid.Row="4" Grid.Column="0"/>
        <TextBox Name="_ctlEditPassword" Grid.Row="4" Grid.Column="1"/>
        <Label Content="密码确认:" Grid.Row="5" Grid.Column="0"/>
        <TextBox Name="_ctlEditRePassword" Grid.Row="5" Grid.Column="1"/>
        <StackPanel Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Orientation="Horizontal">
            <Button Name="_ctlBtnCreate" Content="Create" IsDefault="True" Click="_ctlBtnCreate_Click_1" Style="{StaticResource ResourceKey=Btn_Submit}"/>
            <Button Name="_ctlBtnCancel" Content="Cancel" IsCancel="True" Style="{StaticResource ResourceKey=Btn_Cancel}"/>
        </StackPanel>
    </Grid>
</Window>
